/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="EST_SIST")
public class EstSistProteu implements Serializable{

    @Id
    @Column(name="EST_SIST_CODIGO")
    private Integer estSistCodigo;
    @Column(name="COD_SISTEM")
    private Double codSistem;
    @Column(name="DES_SISTEM")
    private String desSistem;
    @Column(name="APE_SISTEM")
    private String apeSistem;
    @Column(name="DES_SISING")
    private String desSising;
    @Column(name="APE_SISING")
    private String apeSising;

    public String getApeSising() {
        return apeSising;
    }

    public void setApeSising(String apeSising) {
        this.apeSising = apeSising;
    }

    public String getApeSistem() {
        return apeSistem;
    }

    public void setApeSistem(String apeSistem) {
        this.apeSistem = apeSistem;
    }

    public Double getCodSistem() {
        return codSistem;
    }

    public void setCodSistem(Double codSistem) {
        this.codSistem = codSistem;
    }

    public String getDesSising() {
        return desSising;
    }

    public void setDesSising(String desSising) {
        this.desSising = desSising;
    }

    public String getDesSistem() {
        return desSistem;
    }

    public void setDesSistem(String desSistem) {
        this.desSistem = desSistem;
    }

    public Integer getEstSistCodigo() {
        return estSistCodigo;
    }

    public void setEstSistCodigo(Integer estSistCodigo) {
        this.estSistCodigo = estSistCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final EstSistProteu other = (EstSistProteu) obj;
        if (this.estSistCodigo != other.estSistCodigo && (this.estSistCodigo == null || !this.estSistCodigo.equals(other.estSistCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 89 * hash + (this.estSistCodigo != null ? this.estSistCodigo.hashCode() : 0);
        return hash;
    }



}
